home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Developer CD v2.1
/
Amiga Developer CD v2.1.iso
/
CDTV
/
cdtvtools-20
/
setcdfs
/
SetCDFS.doc
< prev
next >
Wrap
Text File
|
1992-02-14
|
4KB
|
91 lines
SetCDFS SetCDFS
NAME
SetCDFS -- Set CD filesystem options in an ISO-9660 image file.
SYNOPSIS
SetCDFS { -[dblfresnot] | +[dblfr]# | +[esnot] } <file> [ file ... ]
FUNCTION
This program sets a number of configuration options in an ISO-9660
disc image file, which are read by CDTV at boot time. These options
are specific to CDTV.
The program operates on any number of files; the same options are
applied to all files supplied. The option switches are specified
below. If the option is preceeded by a '+', then the option and its
associated parameter, if any, are added to the ISO image. If the
option is preceeded by a '-', the option, if present, is removed
from the ISO image.
If no options are specified, the options currently within each ISO
image file are printed.
The available options are:
d#: Sets the size of the directory cache, in disc blocks. Each
block is 2K.
b#: Sets the size of the read-ahead cache, in disc blocks. Each
block is 2K.
l#: Sets the size of the FileLock cache. The value is the
number of FileLocks to allocate.
f#: Sets the size of the FileHandle cache. The value is the
number of FileHandles to allocate.
r#: Sets the number of times to retry a disc read.
e: Turns on/off direct reads. CDTV defaults to non-direct
reads due to a bug in the DMA controller (see the
CDTV.device docs for more details). However, if your
software is aware of this and compensates, you can re-enable
direct reads with this flag.
s: Enables/disables fast directory searches. ISO-9660 mandates
that filenames in a directory be sorted in ASCII order, but
doesn't specify sorting order for filenames that mix upper-
and lower-case. If this option is enabled, CDTV will search
directories case-insensitively, stopping when it has either
found the file, or passed the point where the file could be.
If you use this option, you should be sure your mastering
software sorts directories case-insensitively.
o<name>:
Installs a BootFile. If installed, the named file is loaded
and run shortly after disc insertion, well before
Startup-Sequence. This can be useful for creating "fast
start" titles that don't require the filesystem.
(This option is not currently implemented.)
t[name]:
Installs CDTV trademark information. If 'name' is
specified, the trademark data is taken from the named file.
Otherwise, the default name "CDTV.TM" is used.
(This option is not currently implemented.)
The various caches and buffers are allocated by the filesystem well
before Startup-Sequence happens. Naturally, these buffers should be
tuned to suit your specific application. If your title is an
encyclopedia, you might benefit from having larger directory and
FileLock caches. On the other hand, if you're making extensive use
of CD-XL, which bypasses the filesystem, smaller cache sizes may be
to your advantage to reclaim memory.
EXAMPLE
SetCDFS +d4 +b4 ISOFile ; Set 4 dir blocks, 4 read blocks
SetCDFS -e +s image ; Disable direct reads, enable fast search
SetCDFS Other_Image ; Print options in 'Other_Image'
BUGS
SetCDFS currently does not work properly under Kickstart 1.3 or
Workbench 1.3.